<div id="DeveloperCompleteInfo">
    <div class="row reg-content fadeInUp">
        <div class="col-md-10 col-md-offset-1">
            <div class="panel panel-default">
                <h3 class="text-center">完善信息</h3>
                <div class="row" ng-if="PageShow==0">
                    <div class="tips" ng-if="!isCompleteCompany">
                        请完善个人资料
                        <button class="btn btn-primary"  ng-click="GoComplete()">进入</button>
                    </div>
                    <div class="tips" ng-if="isCompleteCompany">
                        你已完成厂商绑定!
                    </div>
                </div>
                <div class="row" ng-if="PageShow==1">
                    <div class="col-md-10 col-md-offset-2 col-sm-10 col-sm-offset-2">
                        <form class="form-horizontal reg-box" method="post" name="DeveloperForm" novalidate="novalidate" >
                            <div class="form-group has-feedback"  ng-class="{'has-success':DeveloperForm.CompanyName.$valid,'has-error':DeveloperForm.CompanyName.$invalid&&DeveloperForm.CompanyName.$dirty}">
                                <label class="col-md-2 col-sm-2 control-label"><em class="must-point">*</em>厂商名称：</label>
                                <div class="col-md-6 col-sm-6">
                                    <input type="text" id="CompanyName" name="CompanyName" class="form-control" placeholder="请输入厂商名称" required ng-model="Developer.CompanyName">
                                    <span class="glyphicon form-control-feedback" aria-hidden="true" ng-class="{'glyphicon-ok':DeveloperForm.CompanyName.$valid,'glyphicon-remove':DeveloperForm.CompanyName.$invalid&&DeveloperForm.CompanyName.$dirty}" ></span>
                                </div>
                                <div class="col-md-4"></div>
                            </div>
                            <div class="form-group has-feedback"  ng-class="{'has-success':DeveloperForm.LinkMan.$valid,'has-error':DeveloperForm.LinkMan.$invalid&&DeveloperForm.LinkMan.$dirty}">
                                <label class="col-md-2 col-sm-2 control-label"><em class="must-point">*</em>联系人：</label>
                                <div class="col-md-6 col-sm-6">
                                    <input type="text" id="LinkMan" name="LinkMan" class="form-control" placeholder="请输入联系人" required ng-model="Developer.LinkMan">
                                    <span class="glyphicon form-control-feedback" aria-hidden="true" ng-class="{'glyphicon-ok':DeveloperForm.LinkMan.$valid,'glyphicon-remove':DeveloperForm.LinkMan.$invalid&&DeveloperForm.LinkMan.$dirty}" ></span>
                                </div>
                                <div class="col-md-4"></div>
                            </div>
                            <div class="form-group has-feedback"  ng-class="{'has-success':DeveloperForm.Phone.$valid,'has-error':DeveloperForm.Phone.$invalid && DeveloperForm.Phone.$dirty && Developer.Phone != undefind}">
                                <label class="col-md-2 col-sm-2 control-label"><em class="must-point">*</em>联系电话：</label>
                                <div class="col-md-6 col-sm-6">
                                    <input type="number" id="Phone" name="Phone" class="form-control" placeholder="请输入联系电话" required ng-model="Developer.Phone">
                                    <span class="glyphicon form-control-feedback" aria-hidden="true" ng-class="{'glyphicon-ok':DeveloperForm.Phone.$valid,'glyphicon-remove':DeveloperForm.Phone.$invalid&&DeveloperForm.Phone.$dirty && Developer.Phone != undefind}" ></span>
                                </div>
                                <div class="col-md-4"></div>
                            </div>
                            <div class="form-group has-feedback" ng-class="{'has-success':DeveloperForm.Email.$valid ,'has-error':DeveloperForm.Email.$invalid && DeveloperForm.Email.$dirty && Developer.email == undefined}">
                                <label class="col-md-2 col-sm-2 control-label"><em class="must-point">*</em>邮箱：</label>
                                <div class="col-md-6 col-sm-6">
                                    <input type="email" class="form-control" name="Email" placeholder="请输入邮箱" required ng-model='Developer.email' >
                                    <span class="glyphicon form-control-feedback" aria-hidden="true" ng-class="{'glyphicon-ok':DeveloperForm.Email.$valid ,'glyphicon-remove':DeveloperForm.Email.$invalid && DeveloperForm.Email.$dirty && Developer.email == undefined}"></span>
                                </div>
                                <div class="col-md-4"></div>
                            </div>
                            <div class="form-group has-feedback"  ng-class="{'has-success':DeveloperForm.OrgFile.$valid,'has-error':DeveloperForm.OrgFile.$invalid&&DeveloperForm.OrgFile.$dirty}">
                                <label class="col-md-2 col-sm-2 control-label"><em class="must-point">*</em>组织机构代码证：</label>
                                <div class="col-md-6 col-sm-6">
                                    <input type="text" id="OrgFile" name="OrgFile" class="form-control" placeholder="请输入组织机构代码证" required ng-model="Developer.OrgFile">
                                    <span class="glyphicon form-control-feedback" aria-hidden="true" ng-class="{'glyphicon-ok':DeveloperForm.OrgFile.$valid,'glyphicon-remove':DeveloperForm.OrgFile.$invalid&&DeveloperForm.OrgFile.$dirty}" ></span>
                                </div>
                                <div class="col-md-4"></div>
                            </div>
                            <div class="form-group">
                                <div class="col-md-6  col-md-offset-2 col-sm-6  col-sm-offset-2 ">
                                    <div class="text-center mt reg-btn">
                                        <button ng-click="submitDeveloperInfo(Developer)" class="btn btn-primary" ng-disabled="DeveloperForm.$invalid">提交信息</button>
                                    </div>
                                </div>
                            </div>
                        </form>

                    </div>
                </div>
                <div class="row" ng-if="PageShow==2">
                    <div class="tips-bg">
                        <div class="tips">
                            提交成功，请等待审批！
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>